package o;

import com.huawei.appgallery.foundation.ui.framework.cardkit.bean.CardBean;
import com.huawei.appmarket.service.store.awk.bean.AppWelfareListCardBean;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;

public class dho extends chi {
    protected List<CardBean> ˏ(List<CardBean> list) {
        super.ˏ(list);
        Collection arrayList = new ArrayList(list);
        int i = 0;
        while (i < arrayList.size()) {
            if (arrayList.get(i) instanceof AppWelfareListCardBean) {
                AppWelfareListCardBean appWelfareListCardBean = (AppWelfareListCardBean) arrayList.get(i);
                appWelfareListCardBean.ˊ(dte.ॱ().ॱ(appWelfareListCardBean.ॱـ()).ॱ());
                i++;
            } else {
                Logger.ˏ("HorizontalAppWelfareCard", "setData: list's item is not instanceof AppWelfareListCardBean");
                return list;
            }
        }
        Collections.sort(arrayList);
        return new ArrayList(arrayList);
    }
}
